package com.roc.pojo;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
import javax.persistence.Transient;

@Entity
@Table(name = "t_merinfo_change")
public class MerinfoChange implements Serializable {
    private static final long serialVersionUID = 1L;

    @Id
    @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "merinfoSeq")
    @SequenceGenerator(name = "merinfoSeq", sequenceName = "merinfo_chang_seq")
    private Long id;

    @Column(name = "MID")// 商户号
    private String mid;

    @Column(name = "NAME_BUSI")//商户简称
    private String nameBusi;
    
    @Column(name = "NAME_BUSI_HIS")//商户简称历史
    private String nameBusiHis;
    
    @Column(name = "CONTACT_NAME")//商户联系人
    private String contactName;
    
    @Column(name = "CONTACT_NAME_HIS")//商户联系人历史
    private String contactNameHis;

    @Column(name="CONTACT_PHONE_NO")//商户联系人手机号码
    private String contactPhoneNo;
    
    @Column(name="CONTACT_PHONE_NO_HIS")//商户联系人手机号码历史
    private String contactPhoneNoHis;
    
    @Column(name="BANK_ACCOUNT_NAME")
    private String bankAccountName;//账户名称
    
    @Column(name="BANK_ACCOUNT_NAME_HIS")
    private String bankAccountNameHis;//账户名称历史
    
    @Column(name="OPEN_BANK")
    private String openBank;//开户银行
    
    @Column(name="OPEN_BANK_HIS")
    private String openBankHis;//开户银行历史
    
    @Column(name="BANK_ACCOUNT")
    private String bankAccount;//账号
    
    @Column(name="BANK_ACCOUNT_HIS")
    private String bankAccountHis;//账号历史
    
    @Column(name="BANK_CODE")
    private String bankCode;//支付联行号
    
    @Column(name="BANK_CODE_HIS")
    private String bankCodeHis;//支付联行号历史
    
    @Column(name="DEAL_CODE")
    private String dealCode;//代码 'C1':'申请变更基本信息','C2':'申请变更结算信息','C3':'商户增机申请','C4':'申请变更产品手续费','C5':'商户T0/T1申请开通','C6':'终止合同申请'

    private String remark;//备注
    
    @Column(name = "operators")
    private String operators;//审核操作员
    
    @Column(name="DT_CREATE_TIME")
    private Date dtCreateTime; //申请更改时间
    
    @Column(name="DT_AUDITOR_TIME")
    private Date dtAuditorTime; //审核时间
    
    private String url1;//营业执照照片

    private String url2;//法人身份证正面照片

    private String url3;//法人身份证反面面照片

    private String url4;//申请单
    
    private String url5;//
    
    private String url6;//
    
    private String url7;//
    
    private String url8;//
    
    private String url9;//
    
    private String url10;//
    
    @Column(name="AGENT_ID")
    private String agentId;//代理商id
    
    @Column(name="ORG_CODE")
    private String orgCode;//机构代码
    
    private String status;//状态  W  待审核   N  未通过  F  信息不完善
    
    @Column(name="ACCOUNT_NO")
    private String accountNo;//申请更改业务员账号
    
    private String terId;//记录增机终端号
    
    @Column(name="PUB_OR_PRI")
    private String pubOrPri;//记录对公对私
    
    @Column(name="PUB_OR_PRI_HIS")
    private String pubOrPriHis;//记录对公对私
    
    @Column(name="DEBIT_PERCENT")
    private Double debitPercent;//借记卡费率
    
    @Column(name="DEBIT_PERCENT_HIS")
    private Double debitPercentHis;//借记卡费率历史
    
    @Column(name="DEBIT_MAX")
    private Double debitMax;//借记卡封顶
    
    @Column(name="DEBIT_MAX_HIS")
    private Double debitMaxHis;//借记卡封顶历史
    
    @Column(name="CREDIT_PERCENT")
    private Double creditPercent;//贷记卡费率
    
    @Column(name="CREDIT_PERCENT_HIS")
    private Double creditPercentHis;//贷记卡费率历史
    
    @Column(name="DVP_BY")
    private String dvpBy;// DVP_BY   是否法人结算账户，若为否则需要非法人身份证号   0 是 1 否
    
    @Column(name="DVP_BY_HIS")
    private String dvpByHis;// DVP_BY   是否法人结算账户，若为否则需要非法人身份证号  0 是 1 否
    
    @Column(name="STLM_WAY_DESC")
    private String stlmWayDesc;//STLM_WAY_DESC    非法人的身份证号
    
    @Column(name="STLM_WAY_DESC_HIS")
    private String stlmWayDescHis;//STLM_WAY_DESC    非法人的身份证号
     
    
    @Column(name="CREDIT_ACCOUNT")
    private String creditAccount;//    信用卡账户
    
    @Column(name="CERTIF")
    private String certif;   //变更的法人名称
    @Column(name="CERTIF_HIS")
    private String certifHis;  //法人名称历史
    
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getMid() {
        return mid;
    }

    public void setMid(String mid) {
        this.mid = mid;
    }

    public String getNameBusi() {
        return nameBusi;
    }

    public void setNameBusi(String nameBusi) {
        this.nameBusi = nameBusi;
    }

    public String getContactPhoneNo() {
        return contactPhoneNo;
    }

    public void setContactPhoneNo(String contactPhoneNo) {
        this.contactPhoneNo = contactPhoneNo;
    }

    public String getBankAccountName() {
        return bankAccountName;
    }

    public void setBankAccountName(String bankAccountName) {
        this.bankAccountName = bankAccountName;
    }

    public String getOpenBank() {
        return openBank;
    }

    public void setOpenBank(String openBank) {
        this.openBank = openBank;
    }

    public String getBankAccount() {
        return bankAccount;
    }

    public void setBankAccount(String bankAccount) {
        this.bankAccount = bankAccount;
    }

    public String getBankCode() {
        return bankCode;
    }

    public void setBankCode(String bankCode) {
        this.bankCode = bankCode;
    }

    public String getDealCode() {
        return dealCode;
    }

    public void setDealCode(String dealCode) {
        this.dealCode = dealCode;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Date getDtCreateTime() {
        return dtCreateTime;
    }

    public void setDtCreateTime(Date dtCreateTime) {
        this.dtCreateTime = dtCreateTime;
    }

    public Date getDtAuditorTime() {
        return dtAuditorTime;
    }

    public void setDtAuditorTime(Date dtAuditorTime) {
        this.dtAuditorTime = dtAuditorTime;
    }

    public String getUrl1() {
        return url1;
    }

    public void setUrl1(String url1) {
        this.url1 = url1;
    }

    public String getUrl2() {
        return url2;
    }

    public void setUrl2(String url2) {
        this.url2 = url2;
    }

    public String getUrl3() {
        return url3;
    }

    public void setUrl3(String url3) {
        this.url3 = url3;
    }

    public String getUrl4() {
        return url4;
    }

    public void setUrl4(String url4) {
        this.url4 = url4;
    }

    public String getAgentId() {
        return agentId;
    }

    public void setAgentId(String agentId) {
        this.agentId = agentId;
    }

    public String getOrgCode() {
        return orgCode;
    }

    public void setOrgCode(String orgCode) {
        this.orgCode = orgCode;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getAccountNo() {
        return accountNo;
    }

    public void setAccountNo(String accountNo) {
        this.accountNo = accountNo;
    }

    public String getOperators() {
        return operators;
    }

    public void setOperators(String operators) {
        this.operators = operators;
    }
    
    public String getNameBusiHis() {
        return nameBusiHis;
    }

    public void setNameBusiHis(String nameBusiHis) {
        this.nameBusiHis = nameBusiHis;
    }

    public String getContactName() {
        return contactName;
    }

    public void setContactName(String contactName) {
        this.contactName = contactName;
    }

    public String getContactNameHis() {
        return contactNameHis;
    }

    public void setContactNameHis(String contactNameHis) {
        this.contactNameHis = contactNameHis;
    }

    public String getContactPhoneNoHis() {
        return contactPhoneNoHis;
    }

    public void setContactPhoneNoHis(String contactPhoneNoHis) {
        this.contactPhoneNoHis = contactPhoneNoHis;
    }

    public String getBankAccountNameHis() {
        return bankAccountNameHis;
    }

    public void setBankAccountNameHis(String bankAccountNameHis) {
        this.bankAccountNameHis = bankAccountNameHis;
    }

    public String getOpenBankHis() {
        return openBankHis;
    }

    public void setOpenBankHis(String openBankHis) {
        this.openBankHis = openBankHis;
    }

    public String getBankAccountHis() {
        return bankAccountHis;
    }

    public void setBankAccountHis(String bankAccountHis) {
        this.bankAccountHis = bankAccountHis;
    }

    public String getBankCodeHis() {
        return bankCodeHis;
    }

    public void setBankCodeHis(String bankCodeHis) {
        this.bankCodeHis = bankCodeHis;
    }

    public String getUrl5() {
        return url5;
    }

    public void setUrl5(String url5) {
        this.url5 = url5;
    }

    public String getUrl6() {
        return url6;
    }

    public void setUrl6(String url6) {
        this.url6 = url6;
    }

    public String getUrl7() {
        return url7;
    }

    public void setUrl7(String url7) {
        this.url7 = url7;
    }

    public String getTerId() {
        return terId;
    }

    public void setTerId(String terId) {
        this.terId = terId;
    }

    public String getPubOrPri() {
        return pubOrPri;
    }

    public void setPubOrPri(String pubOrPri) {
        this.pubOrPri = pubOrPri;
    }

    public Double getDebitPercent() {
        return debitPercent;
    }

    public void setDebitPercent(Double debitPercent) {
        this.debitPercent = debitPercent;
    }

    public Double getDebitPercentHis() {
        return debitPercentHis;
    }

    public void setDebitPercentHis(Double debitPercentHis) {
        this.debitPercentHis = debitPercentHis;
    }

    public Double getDebitMax() {
        return debitMax;
    }

    public void setDebitMax(Double debitMax) {
        this.debitMax = debitMax;
    }

    public Double getDebitMaxHis() {
        return debitMaxHis;
    }

    public void setDebitMaxHis(Double debitMaxHis) {
        this.debitMaxHis = debitMaxHis;
    }

    public Double getCreditPercent() {
        return creditPercent;
    }

    public void setCreditPercent(Double creditPercent) {
        this.creditPercent = creditPercent;
    }

    public Double getCreditPercentHis() {
        return creditPercentHis;
    }

    public void setCreditPercentHis(Double creditPercentHis) {
        this.creditPercentHis = creditPercentHis;
    }



    public String getPubOrPriHis() {
        return pubOrPriHis;
    }

    public void setPubOrPriHis(String pubOrPriHis) {
        this.pubOrPriHis = pubOrPriHis;
    }



    //之前字段
    @Transient
    private String addr;
    @Transient
    private String engBrName;
    @Transient
    private String engName;
    @Transient
    private String contact;
    @Transient
    private String settBankId;
    @Transient
    private String acctType;
    @Transient
    private Double  commAmt;
    @Transient
    private String commMode;
    @Transient
    private Double commRate;
    @Transient
    private String accBank;
    @Transient
    private String accNo;
    @Transient
    private Double amount1;
    @Transient
    private Double amount2;
    @Transient
    private Double dayAmount1;
    @Transient
    private Double dayAmount2;
    @Transient
    private Double mouthAmount1;
    @Transient
    private String perPhone;
    @Transient
    private Double mouthAmount2;
    @Transient
    private String merBrName;
    @Transient
    private String tel;
    @Transient
    private long agent_id;
    @Transient
    private Date dtLostmod;
    @Transient
    private String merName;
    @Transient
    private String interContact;
    @Transient
    private String perName;
    @Transient
    private String cardType;
    @Transient
    private String org_code;
    @Transient
    private String account_no;
    
    
    public String getOrg_code() {
                return org_code;
        }

        public void setOrg_code(String org_code) {
                this.org_code = org_code;
        }

        public String getAccount_no() {
                return account_no;
        }

        public void setAccount_no(String account_no) {
                this.account_no = account_no;
        }

        public String getInterContact() {
                return interContact;
        }

        public void setInterContact(String interContact) {
                this.interContact = interContact;
        }

        public String getPerName() {
                return perName;
        }

        public void setPerName(String perName) {
                this.perName = perName;
        }

        public String getCardType() {
                return cardType;
        }

        public void setCardType(String cardType) {
                this.cardType = cardType;
        }

        public String getCardNo() {
                return cardNo;
        }

        public void setCardNo(String cardNo) {
                this.cardNo = cardNo;
        }


        @Transient
    private String cardNo;
    

    public Date getDtLostmod() {
        return dtLostmod;
    }

    public void setDtLostmod(Date dtLostmod) {
        this.dtLostmod = dtLostmod;
    }

    public long getAgent_id() {
        return agent_id;
    }

    public void setAgent_id(long agent_id) {
        this.agent_id = agent_id;
    }

    public String getMerBrName() {
        return merBrName;
    }

    public void setMerBrName(String merBrName) {
        this.merBrName = merBrName;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public Double getMouthAmount2() {
        return mouthAmount2;
    }

    public void setMouthAmount2(Double mouthAmount2) {
        this.mouthAmount2 = mouthAmount2;
    }

    public Double getMouthAmount1() {
        return mouthAmount1;
    }

    public void setMouthAmount1(Double mouthAmount1) {
        this.mouthAmount1 = mouthAmount1;
    }

    public String getPerPhone() {
        return perPhone;
    }

    public void setPerPhone(String perPhone) {
        this.perPhone = perPhone;
    }

    public String getAccBank() {
        return accBank;
    }

    public void setAccBank(String accBank) {
        this.accBank = accBank;
    }

    public String getAccNo() {
        return accNo;
    }

    public void setAccNo(String accNo) {
        this.accNo = accNo;
    }

    public Double getAmount1() {
        return amount1;
    }

    public void setAmount1(Double amount1) {
        this.amount1 = amount1;
    }

    public Double getAmount2() {
        return amount2;
    }

    public void setAmount2(Double amount2) {
        this.amount2 = amount2;
    }

    public Double getDayAmount1() {
        return dayAmount1;
    }

    public void setDayAmount1(Double dayAmount1) {
        this.dayAmount1 = dayAmount1;
    }

    public Double getDayAmount2() {
        return dayAmount2;
    }

    public void setDayAmount2(Double dayAmount2) {
        this.dayAmount2 = dayAmount2;
    }

    public String getAddr() {
        return addr;
    }

    public void setAddr(String addr) {
        this.addr = addr;
    }

    public String getEngBrName() {
        return engBrName;
    }

    public void setEngBrName(String engBrName) {
        this.engBrName = engBrName;
    }

    public String getEngName() {
        return engName;
    }

    public void setEngName(String engName) {
        this.engName = engName;
    }

    public String getContact() {
        return contact;
    }

    public void setContact(String contact) {
        this.contact = contact;
    }

    public String getSettBankId() {
        return settBankId;
    }

    public void setSettBankId(String settBankId) {
        this.settBankId = settBankId;
    }

    public String getAcctType() {
        return acctType;
    }

    public void setAcctType(String acctType) {
        this.acctType = acctType;
    }

    public Double getCommAmt() {
        return commAmt;
    }

    public void setCommAmt(Double commAmt) {
        this.commAmt = commAmt;
    }

    public String getCommMode() {
        return commMode;
    }

    public void setCommMode(String commMode) {
        this.commMode = commMode;
    }

    public Double getCommRate() {
        return commRate;
    }

    public void setCommRate(Double commRate) {
        this.commRate = commRate;
    }

        public String getMerName() {
                return merName;
        }

        public void setMerName(String merName) {
                this.merName = merName;
        }

    public String getUrl8() {
        return url8;
    }

    public void setUrl8(String url8) {
        this.url8 = url8;
    }

    public String getUrl9() {
        return url9;
    }

    public void setUrl9(String url9) {
        this.url9 = url9;
    }

    public String getUrl10() {
        return url10;
    }

    public void setUrl10(String url10) {
        this.url10 = url10;
    }

    public String getDvpBy() {
        return dvpBy;
    }

    public void setDvpBy(String dvpBy) {
        this.dvpBy = dvpBy;
    }

    public String getDvpByHis() {
        return dvpByHis;
    }

    public void setDvpByHis(String dvpByHis) {
        this.dvpByHis = dvpByHis;
    }

    public String getStlmWayDesc() {
        return stlmWayDesc;
    }

    public void setStlmWayDesc(String stlmWayDesc) {
        this.stlmWayDesc = stlmWayDesc;
    }

    public String getStlmWayDescHis() {
        return stlmWayDescHis;
    }

    public void setStlmWayDescHis(String stlmWayDescHis) {
        this.stlmWayDescHis = stlmWayDescHis;
    }

	public String getCreditAccount() {
		return creditAccount;
	}

	public void setCreditAccount(String creditAccount) {
		this.creditAccount = creditAccount;
	}

	public String getCertif() {
		return certif;
	}

	public void setCertif(String certif) {
		this.certif = certif;
	}

	public String getCertifHis() {
		return certifHis;
	}

	public void setCertifHis(String certifHis) {
		this.certifHis = certifHis;
	} 
    
  
}
